﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ShortageAdd.aspx.cs" Inherits="UI.ModSalary.ShortageAdd" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>增加收银员短款信息</title>
     <link rel="stylesheet" type="text/css" href="../Styles/BaseStyle.css" />
       <script type="text/javascript" src="../JS/jsFunction.js"></script>
    <script src="../JS/calendar.js" type="text/javascript"></script>
           
    <style type="text/css">
        td
        {
            height: 27px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
  <br />
    &nbsp;<br />
    &nbsp;<p style="text-align: center; font-size: large;">
        <strong>短款管理</strong></p>
    <br />
    <table style="width: 90%;" align="center">
        <tr>
            <td>
                员工编号:
            </td>
            <td>
                <asp:TextBox ID="txtEmpCode" runat="server" CssClass="InputCss" Width="100px" TabIndex="0"
                    AutoPostBack="True" OnTextChanged="txtEmpCode_TextChanged"></asp:TextBox>
                    <a href="javascript:ShowLink('../ModEmployee/ZipSeaForIn.aspx',880,550)"><img src="../Images/Search.gif" alt="搜索" width="27" height="12" border="0" /></a>
            </td>
            <td>
    部门名称:</td>
            <td>
                <asp:TextBox ID="txtDeptName" runat="server" CssClass="InputCss" Width="100px" tabindex="1" onkeydown="if(event.keyCode==13)event.keyCode=9" ></asp:TextBox></td>
        </tr>
        <tr>
            <td>
                员工姓名:
            </td>
            <td>
                <asp:TextBox ID="txtEmpName" runat="server" CssClass="InputCss" Width="100px" TabIndex="2" onkeydown="if(event.keyCode==13)event.keyCode=9" ></asp:TextBox>
            </td>
            <td>
                职位:</td>
            <td>
                <asp:TextBox ID="txtDutyName" runat="server" CssClass="InputCss" Width="100px" tabindex="3" onkeydown="if(event.keyCode==13)event.keyCode=9" ></asp:TextBox></td>
        </tr>
        <tr>
            <td>
                在职状态:
            </td>
            <td>
                <asp:TextBox ID="txtStateName" runat="server" CssClass="InputCss" Width="100px" TabIndex="4" onkeydown="if(event.keyCode==13)event.keyCode=9" ></asp:TextBox>
            </td>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td>
短款类别:</td>
            <td>
                <asp:DropDownList ID="ddlRewardsTypeName" runat="server" CssClass="InputCss" 
                    Width="100px" tabindex="5">
                    <asp:ListItem Selected="True" Value="13">短款</asp:ListItem>
                   

                </asp:DropDownList>
               
            </td>
            <td>
短款金额:</td>
            <td>
                <asp:TextBox ID="txtRewardsAmount" runat="server" CssClass="InputCss" Width="100px" tabindex="6" onkeydown="if(event.keyCode==13)event.keyCode=9" ></asp:TextBox>
               
                <asp:Label ID="元" runat="server"></asp:Label>
               
                </td>
        </tr>
        <tr>
            <td>
  短款时间:</td>
            <td>
                 <asp:TextBox ID="txtRewardsTime" runat="server" CssClass="InputCss"  maxlength="10" onclick="setday(this,false)" onkeypress="return validateKey(this,false, getkeyCode(event));" style="ime-mode:Disabled;" Width="100px" tabindex="7" onkeydown="if(event.keyCode==13)event.keyCode=9" ></asp:TextBox>
            </td>
            <td>
                短款事由:</td>
            <td>
                <asp:TextBox ID="txtRewardsReason" runat="server" CssClass="InputCss" Width="160px" tabindex="8" onkeydown="if(event.keyCode==13)event.keyCode=9" ></asp:TextBox>
               
                </td>
        </tr>
        <tr>
            <td>
                备注:
            </td>
            <td colspan="3">
                <asp:TextBox ID="txtMemo" runat="server" CssClass="InputCss" Width="420px" TabIndex="9"
                    Rows="3" TextMode="MultiLine" onkeydown="if(event.keyCode==13)event.keyCode=9" ></asp:TextBox>
            </td>
        </tr>
    </table>
<br />
<p style="text-align: center;">
        <asp:Button ID="btnAdd" runat="server" Text="增加" OnClick="btnAdd_Click" 
            TabIndex="10" />
        &nbsp;<asp:Button ID="btnUpdate" runat="server" Text="更新" OnClick="btnUpdate_Click" />
        &nbsp;<asp:Button ID="btnDelete" runat="server" Text="删除" OnClick="btnDelete_Click"  OnClientClick="return confirm('确定要删除吗?\n');" />
        &nbsp;<asp:Button ID="btnClose" runat="server" onclick="btnClose_Click" Text="关闭" 
            TabIndex="17" CausesValidation="False" />
    </p>
    </form>
</body>
</html>
